#include <SDL/SDL.h>
#include "System.h"

System::System()
{
    SDL_Init(SDL_INIT_EVERYTHING);
    done = false;
    buffer = SDL_SetVideoMode( SCREEN_HEIGHT, SCREEN_WIDTH, 16, SDL_SWSURFACE);
}

System::~System()
{
    SDL_FreeSurface(buffer);
    SDL_Quit();
}

